package cn.iocoder.yudao.module.chat.controller.app.gpt.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Data
public class ChatMessageVO {
    @Schema(description = "聊天内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "发送消息的时间不能为空")
    private String content;
    private String name;

    private String userRole = "user";

    private Long userId;

    private String sessionId;

    private Long tenantId;
}
